// #ifndef VUE3

import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import App from './App'
//封装
import request from "@/request/request"
import api from "@/request/api"
//跳转挂载
import navigation from "@/utils/navigation.js"
Vue.config.productionTip = false
// vuex
import store from 'store'
Vue.prototype.$store = store;
//request使用
Vue.use(request)

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
//api使用
Vue.use(api, app)
//navigation使用
Vue.use(navigation, app)
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
